package oa.hleast.xswl.pojo.vo.oms;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: 302
 * @date: 2021-10-30 17:36:40
 * @description: 订单退款表(OmsOrderRefundVo)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShowOmsOrderRefundVo {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("订单ID")
    private Long orderId;

    @ApiModelProperty("订单子项ID")
    private Long orderItemId;

    @ApiModelProperty("用户ID")
    private Long userId;


    @ApiModelProperty("商品spuId")
    private Long spuId;

    @ApiModelProperty("是否能取消退款")
    private Boolean cancelRefund;

    @ApiModelProperty("是否能填写物流")
    private Boolean writeLogistics;

    @ApiModelProperty("是否能重新申请")
    private Boolean againApply;


    @ApiModelProperty("退款售后状态 1仅退款 2退款退后")
    private Integer refundStatus;


    @ApiModelProperty("商家是否同意退款 0初始状态 10同意退款 11不同意退款")
    private Integer agreeRefund;

    @ApiModelProperty("商家备注")
    private String storeRemark;

    @ApiModelProperty("退款原因")
    private String reason;


    @ApiModelProperty("退款金额")
    private Long price;


    @ApiModelProperty("退款说明")
    private String description;


    @ApiModelProperty("退款凭证")
    private String evidence;


    @ApiModelProperty("物流公司(配送方式)")
    private String deliveryCompany;


    @ApiModelProperty("物流单号")
    private String deliverySn;


    @ApiModelProperty("确认退款 0未确认 1确认")
    private Integer confirm;


    @ApiModelProperty("退款确认操作人(商家姓名或者系统自动退货)")
    private String operationUserName;

    @ApiModelProperty("退款进度")
    private List<ShowOrderRefundLogVo> schedule;

    @ApiModelProperty("退款商品的数量")
    private Integer skuQuantity;

    @ApiModelProperty("三方退款状态 0 初始状态 10退款成功 11退款失败")
    private Integer thirdRefundStatus;

    @ApiModelProperty("退款单号")
    private String refundNo;

    @ApiModelProperty("退款资金路径 1微信 2支付宝")
    private Integer refundTarget;

    @ApiModelProperty("退款申请是否生效 0不生效 1生效")
    private Boolean applyDisplay;

    @ApiModelProperty("退款申请次数 默认1")
    private Integer applyNum;

    @ApiModelProperty("买家是否填写了物流信息 默认0  0未填写 1已填写")
    private Boolean whetherDelivery;

}
